package com.road.yishi.protocol;

/**
 * 战斗协议 * |Client[0x0000,0x1388] | |Gateway[0x4E21,0x61A8] / | \ |Castle[0x1389,0x2710] |Battle[0x2711,0x3A98]
 * |Chat[0x3A99,0x4E20]
 */
public interface GatewayProtocol {

	/**
	 * Gateway 0x4E21,0x61A8
	 **/
	public static final short G_LOGIN_GATEWAY = 0x4E21; // 登录
	public static final short G_PLAYER_NOTICE = 0x4E22; // Castle通知登陆Gateway
	public static final short G_KICK_AWAY_PLAYER = 0x4E25; // 踢玩家下线
	public static final short G_PLAYER_WAITE = 0x4E26; // 准备登陆
	public static final short G_CH_CHANNEL_CHAT = 0x4E27; // 频道聊天
	public static final short G_SYNC_TIME = 0x4E28; // 客户端与服务器端时间同步
	public static final short G_ACCELERATOR = 0x4E29; // 使用了加速器

	public static final short G_C_SYNC_BOSS_HP = 0x5000; // 同步世界BOSS血量
	public static final short G_C_ARMYPOS_BROAD = 0x5001; // 同步副本中移动的点
	public static final short G_C_PLAYER_DIE_STATE = 0x5002; // 同步世界BOSS副本玩家死亡状态
	public static final short G_C_CAMPAIGN_ARMY_UPDATE = 0x5003; // 同步副本部队状态
	public static final short G_C_CAMPAIGN_NODE_UPDATE = 0x5004; // 同步副本节点状态
	public static final short G_C_ARMY_POS_UPDATE = 0x5005; // 更新玩家出生点

	public static final short G_CROSS_LOGIN = 0x5101; // 请求user注册cross服务器
	public static final short G_CROSS_LOGOUT = 0x5102; // 请求user注销cross服务器
	public static final short G_CROSS_CONN = 0x5103; // 请求连接cross服务器
	public static final short G_CROSS_DISCONN = 0x5104; // 请求断开cross服务器
	public static final short G_CROSS_RESET = 0x5105; // 请求重置cross服务器
	public static final short G_CROSS_ON = 0x5106;
	public static final short G_CROSS_HEARTBEAT = 0x5107; // 心跳包
	public static final short G_RESP_CROSS_ROOM_LIST = 0x5108; // 返回跨服的房间列表
	public static final short G_REQ_CROSS_ROOM_LIST = 0x5109; // 请求跨服的房间列表

	public static final short G_C_GUILDWAR_SCORE = 0x5006; // 公会战信息
	public static final short G_C_NODE_HP = 0x5007; // 公会战血量同步
	public static final short G_C_FAM_INFO = 0x5008; // 公会战血量同步
	public static final short G_C_GUILDWAR_WOUND = 0x5009; // 公会战贡献同步
	public static final short G_C_PLUGSWITCH = 0x5010; // 使用外挂是否掉线开关
	public static final short G_C_REMOVE_CROSSUSER = 0x5011; // 通知跨服战场移除重复玩家

	public static final short G_CROSS_SEND = 0x5012;

	public static final short G_C_ARMYPOS_BROAD_2 = 0x5014; // 同步副本中移动的点2
	public static final short G_C_SYNC_CAMPIAGN_ARMYENTER = 0x5018;// 同步副本玩家进入信息
	public static final short G_C_SYNC_CAMPIAGN_ARMYLOGINOUT = 0x501c; // 同步副本玩家掉线

	public static final short G_C_SYNC_WORLDMAP_ARMYMOVE = 0x501D; // 大地图移动消息
	public static final short G_C_SYNC_WORLDMAP_ARMYSYNC = 0x501E; // 大地图部队信息广播

	// ----------------------------0x5DC0之后的协议将留给海外使用------------------------------//
}
